Category: ZOPE
ZOPE->ZPT->TAL Variable Variables
hello everybody, i could need some adive on TAL scripting...
i have a plone template where i generate variable field names. the name is field_name_1, field_name_2, ... , field_name_XXX.
i am doing this by defining the field name combined with a counter:
tal:define="global field_name string:field_name_${group/group_index}"
this works fine so far. but when i want to read the fields after a submit
tal:define"bla request/form/field_name_1" works but
tal:define="bla request/form/field_name_${group/group_index}" doesn't. how can i make this statement dynamic?
thanx for your help in advance...
renato furter